package com.mindcraft.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mindcraft.shop.dto.CategoryTreeDto;
import com.mindcraft.shop.po.Category;
import com.mindcraft.shop.po.SkuInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author itcast
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    public List<CategoryTreeDto> selectTreeNodes(Long id);

}
